var script = document.createElement("script"); //create a script element
script.setAttribute("type","text/javascript"); //set its type
script.setAttribute("src", "jquery.pwi.js"); //set its src
document.getElementsByTagName("head")[0].appendChild(script); //append it to head tag
   $(document).ready(function() {

        $("#container").pwi({

			mode: 'album',
			album: 'AishwaryaRai03',
            page: Math.floor(Math.random() * 15) + 1,
			thumbCrop: false,
            photo_crop: 1,
            photosize: 300,
            thumbsize: 300,
            thumbCss: {
'width': '200px',
'height': '200px',
'background': '#D2EAFA',
'-moz-box-shadow': '8px 8px 8px #888',
'-webkit-box-shadow': '8px 8px 8px #888',
'box-shadow': '8px 8px 8px #888',
'margin' : '10px'			
			},
			showAlbumTitles: false,
			showAlbumdate: false,
			showAlbumPhotoCount: false,
			showAlbumDescription: false,
			showAlbumLocation: false,
			showSlideshowLink: false,
            showPhotoCaption: false,
            showPhotoDate: false, 
			thumbAlign: false, 
			showPhotoDownloadPopup: true,             
            showPager: 'bottom',  
            maxResults : 9,
			username: 'superstar766'
        });
    });